﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace funktionsPlotter
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
        }

        private  void btn_Start_Click(object sender, EventArgs e)
        {
            int p_max = int.Parse(txt_Max.Text);
            int p_min=int.Parse(txt_Min.Text);
            var erg3 = FunktionsPlotterBase.Plotten(textBox3.Text.ToString(),p_min,p_max,0);
            for (int i = 0; i < erg3.Count(); i++)
            {
                textBox4.AppendText(erg3[i].ToString() + "\n");
            }
        }
    }
}